package com.qianyucc.blog.model.dto;

import lombok.*;

/**
 * @author lijing
 * @e-mail 1413979079@qq.com
 * @date 2020-05-13 21:46
 * @description 码云登录返回的用户信息
 */
@Data
public class GiteeUserDTO {
    private static class Token{
        private String accessToken;
        private String scope;
        private String expireIn;
        private String tokenType;
        private String refreshToken;

        public String getAccessToken() {
            return accessToken;
        }

        public String getScope() {
            return scope;
        }

        public String getExpireIn() {
            return expireIn;
        }

        public String getTokenType() {
            return tokenType;
        }

        public String getRefreshToken() {
            return refreshToken;
        }
    }

    private String gender;
    private String remark;
    private String source;
    private String avatar;
    private String uuid;
    private Token token;
    private String nickname;
    private String username;
}

